package com.example.smartagriculture.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.io.Serial;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

/**
 * soil_msg 实体类
 * @author 张芸博
 * @since 2024-12-10
 */
@Data
@AllArgsConstructor
@TableName("soil_msg")
public class SoilMsg implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @Schema(name = "id", description = "id")
    private Integer id;

    /**
     * 果园id
     */
    @Schema(name = "orchard_id", description = "果园id")
    private Integer orchardId;

    /**
     * PH值
     */
    @Schema(name = "PH", description = "PH值")
    private String ph;

    /**
     * 营养成分等级
     */
    @Schema(name = "nutrient_level", description = "营养成分等级")
    private String nutrientLevel;

    /**
     * 水分含量
     */
    @Schema(name = "moisture_content", description = "水分含量")
    private String moistureContent;

    /**
     * 数据日期
     */
    @Schema(name = "data_date", description = "数据日期")
    private LocalDateTime dataDate;


}
